<?php

class Involvees
{
	private $involvees=array();
	
	public function __construct()
	{
		$database=$GLOBALS['DATABASE']->Recopy();
		$sql = "SELECT EventInvolveeNameID, LongName, ShortName FROM EventInvolveeNames ORDER BY LongName";
		$database->executeSQL($sql);
		while($row=$database->getRow())
		{
			$eventLocation=array();
			$eventInvolvee['LongName']=$row['LongName'];
			$eventInvolvee['ShortName']=$row['ShortName'];
			$this->involvees[$row['EventInvolveeNameID']]=$eventInvolvee;
		}
		
	}
	
	public function getInvolvees(){return $this->involvees;}
	
}
